<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
	content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<link rel="shortcut icon" href="images/favicon.ico"/>
	<link rel="stylesheet" href="css/css.css">
	<link rel="stylesheet" href="font-awesome/css/font-awesome.css">
	<link rel="stylesheet" href="layui/css/layui.css">
	<script src="js/jquery-3.2.1.min.js"></script>
	<script src="layui/layui.js"></script>
	<script src="js/mylayui.js" ></script>
	<script src="js/jquery.cookie.js"></script>
	<script src="js/main.js" ></script>
	<title>放牛沟-后台管理系统</title>
</head>
<body id="body_" class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<!-- Header -->
		<div class="layui-header">
			<div class="layui-logo">放牛沟线上农庄</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<ul class="layui-nav layui-layout-left">
				<li class="layui-nav-item"><a href="/">控制台</a></li>
				<li class="layui-nav-item">
					<a href="javascript:;">其他系统</a>
					<dl class="layui-nav-child">
						<dd><a href="">邮件管理</a></dd>
						<dd><a href="">消息管理</a></dd>
						<dd><a href="">授权管理</a></dd>
					</dl>
				</li>
			</ul>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item">
					<a href="javascript:;">
						<img src="images/header.jpg" class="layui-nav-img">
						<span id="lognname">放牛沟</span>
					</a>
					<dl class="layui-nav-child">
						<dd><a id="MyData">个人信息</a></dd>
						<dd><a href="Layout">注销账户</a></dd>
					</dl>
				</li>
			</ul>
		</div>
		<!-- Left -->
		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item"><a href="Index">后台首页</a></li>
					<li class="layui-nav-item">
						<a href="javascript:;">用户管理</a>
						<dl class="layui-nav-child">
							<dd><a id="alluser" class="fng-active" content-key="AllUser" title="全部用户">全部用户</a></dd>
						</dl>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;">商品管理</a>
						<dl class="layui-nav-child">
							<dd><a class="fng-active" content-key="AllProduct" title="全部商品">全部商品</a></dd>
							<dd><a>商品类型</a></dd>
							<dd><a>添加商品</a></dd>
							<dd><a>商品评价</a></dd>
						</dl>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;">订单管理</a>
						<dl class="layui-nav-child">
							<dd><a class="fng-active" content-key="OrderLists" title="全部订单">全部订单</a></dd>
						</dl>
					</li>
					<li class="layui-nav-item"><a href="Layout">登出系统</a></li>
				</ul>
			</div>
		</div>
		<div class="layui-body">
			<!-- 选项卡Start -->
			<div class="layui-tab" lay-filter="OnlineFarm" lay-allowClose="true">
				<ul class="layui-tab-title">
					<li class="layui-this" lay-id="index" class="first-tab" lay-allowClose="false">首页</li>
				</ul>
				<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">



					</div>
				</div>
			</div>
			<!-- Footer -->
			<div class="layui-footer">
				<!-- 底部固定区域 -->
				Copyright © 2018 <a href="/">放牛沟</a>
			</div>
		</div>
	</div>
</body>
</html>
<script src="js/echarts.min.js"></script>
<script>
	layui.use('element', function(){
		var $ = layui.jquery
		element = layui.element;

		element.on('tab(OnlineFarm)', function(){
    	updateQueryStringParameter("mod",this.getAttribute('lay-id'));
  		});
	});
	$('.fng-active').on('click', function(){
      var tabData=$(this);
      var title=tabData.attr('title'),contentkey=tabData.attr('content-key');
      tabAdd(title,contentkey);
    });

	$(function(){
		TabInitialization();
	});
</script>

